package vip.xiaonuo.facedoor.vo.haiqing;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
public class SetSysTimeRequest {

    @JSONField(name = "operator")
    private String operator = "SetSysTime";
    @JSONField(name = "info")
    private InfoDTO info;

    @NoArgsConstructor
    @Data
    @Accessors(chain = true)
    public static class InfoDTO {
        @JSONField(name = "Year")
        private Integer year;
        @JSONField(name = "Month")
        private Integer month;
        @JSONField(name = "Day")
        private Integer day;
        @JSONField(name = "Hour")
        private Integer hour;
        @JSONField(name = "Minute")
        private Integer minute;
        @JSONField(name = "Second")
        private Integer second;
    }
}
